package cn.myjerry.others.commons;
/**
 * 员工类
 * @author Jerry
 *
 */
public class Employee {
	private String Name;
	private double salary;
	public Employee() {
	}
	public Employee(String name, double salary) {
		super();
		Name = name;
		this.salary = salary;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return Name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		Name = name;
	}
	/**
	 * @return the salary
	 */
	public double getSalary() {
		return salary;
	}
	/**
	 * @param salary the salary to set
	 */
	public void setSalary(double salary) {
		this.salary = salary;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Employee [Name=" + Name + ", salary=" + salary + "]";
	}
	
}
